package parse;

import RecordManagement.*;
import SystemManagement.*;
import PagedFile.*;

public class CreateTable extends SQL{
	private TableName table_name;
	private Attribute_list schema;
	
	public CreateTable(String table_name, Attribute_list sch){
		this.table_name = new TableName(table_name);
		this.schema = sch;
	}
	
	public TableName GetTableName(){
		return this.table_name;
	}
	
	public Attribute_list GetTableSchema(){
		return this.schema;
	}
	
	public void CrtTable(SM_Manager sm){
		sm.CreateTable(table_name.GetTableName(), schema);
	}
}